/**
@file
	InternalService.h
@brief

@author
	GengYong
@revision
	2005/11/05 * Created by GengYong.
*/

#ifndef SAF_HEADER_FILE_INTSVCDEV_H
#define SAF_HEADER_FILE_INTSVCDEV_H

#include "KernelImpl.h"

namespace SAF
{
	class InternalServiceModule:public IServiceModule
	{
	public:	
		virtual bool Init(IKernel*, IConfig*);
		virtual void Release();
	public:
		virtual void Process(IConnection *, const NetPackage&);
		virtual void OnConnectionIncoming(IConnection *, void *&);
		virtual void OnConnectionOutgoing(IConnection *, void *&);
	};
}

#endif	//#ifndef SAF_HEADER_FILE_INTSVCDEV_H

